package cn.ryh.designpatterndemo.builderpattern;

import java.util.ArrayList;

/**
 * @ClassName BMWBuilder
 * @Description TODO
 * @Author RaoYH
 * @Date 2019/4/22
 */
public class BMWBuilder extends CarBuilder {
    private BMW bmw = new BMW();
    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.bmw.setSequence(sequence);
    }

    @Override
    public CarBuilderPattern getCarModel() {
        return this.bmw;
    }
}
